/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.pneuservis.soap.sei;

import cz.muni.fi.pa165.pneuservis.soap.dto.TyreTypeDTO;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author Admin
 */
@WebService
public interface TyreTypeSEI {

    /**
     * Web service operation
     */
    void createTyreType(@WebParam(name = "tyre") TyreTypeDTO tyre);

    /**
     * Web service operation
     */
    void deleteTyre(@WebParam(name = "tyre") TyreTypeDTO tyre);

    TyreTypeDTO[] findTyreTypesByManufacturer(@WebParam(name = "manufacturer") String manufacturer);

    TyreTypeDTO[] findTyreTypesByProfile(@WebParam(name = "profile") int profile);

    TyreTypeDTO[] findTyreTypesByRimSize(@WebParam(name = "size") int rimSize);

    TyreTypeDTO[] findTyreTypesByWidth(@WebParam(name = "width") int width);

    TyreTypeDTO[] getAllTyreTypes();

    TyreTypeDTO getTyreType(@WebParam(name = "id") Long id);

    /**
     * Web service operation
     */
    void updateTyre(@WebParam(name = "tyre") TyreTypeDTO tyre);
    
}
